<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<Thor.Models.CalendarEntry>>" %>

<%@ Import Namespace="Helpers" %>
<%@ Import Namespace="Thor.Models" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Show Schedule
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div>
        <div id="logo">
            <img alt="" src="..\..\Content\Logo.png" />
            <br />
            <input class="ScheduleButton" type="button" value="Submit" onclick="SubmitTime();" />
            <br />
            <input class="ScheduleButton" type="button" value="Cancel" onclick="Cancel();" />
        </div>
        <div id="calendar">
            <%= Html.Hidden("CalendarId")%>
            <%= Html.Hidden("CalendarAlias")%>
            <%= Html.Hidden("Timestamp")%>
            <%= Html.DataGrid<CalendarEntry> ()%>
        </div>
    </div>
</asp:Content>
